{extend name="common/base" /}
{block name="body"}
<div class="soye-hui">
    <div class="renz-mains">
        <div class="renz-top">
            <a href="{:url('My/setInfo')}">
                <div>
                    {empty name="user.avatar"}
                    <img src="__CDN__/html/img/btn_wode.png" id="my_img_id" class="renz-top-img">
                    {else /}
                    <img src="__CDN__{$user.avatar}" id="my_img_id" class="renz-top-img">
                    {/empty}

                    <!--<img src="__CDN__/html/img/btn_wode.png" class="renz-top-img">-->
                    <p class="renz-top-ps">{$user.nickname}</p>
                </div>
            </a>
            <a href="{:url('My/wallet')}">
                <ul class="renz-cen">
                    {notpresent name="wallet"}
                    <li class="li1">
                        <div class="renz-ce-div">0.00</div>
                        <div class="renz-ce-div2">可提现</div>
                    </li>
                    <li>
                        <div class="renz-ce-div">0.00</div>
                        <div class="renz-ce-div2">冻结中</div>
                    </li> 
                    {else /}
                    <li class="li1">
                        <div class="renz-ce-div">{$wallet.cash_amount}</div>
                        <div class="renz-ce-div2">可提现</div>
                    </li>
                    <li>
                        <div class="renz-ce-div">{$wallet.frozen_amount}</div>
                        <div class="renz-ce-div2">冻结中</div>
                    </li> 
                    {/notpresent}
                </ul> 
            </a>
        </div>
        <ul class="list-rz">
            {notpresent name="user_car"}
            <a href="{:url('My/carAuth')}">
                {else /}
                <a href="{:url('My/carInfo')}">
                    {/notpresent}
                    <li>
                        <div class="rz-div">
                            <img src="__CDN__/html/img/btn_wode_car.png" class="rz-img">
                            <span class="rz-span">车辆认证</span>
                        </div> 
                        {notpresent name="user_car"}
                        <div class="rz-div2">未认证</div>

                        {else /}
                        {switch name="user_car.car_cert"}
                        {case value="0"}<div class="rz-div2 rz-div2d">认证中</div>{/case}
                        {case value="1"}<div class="rz-div2 rz-div2d">已认证</div>{/case}
                        {case value="10"}<div class="rz-div2 rz-div2s">认证失败</div> {/case}
                        {/switch}
                        {/notpresent}

                    </li>
                </a>
                <a href="{:url('My/recom')}">
                <li>
                    <div class="rz-div">
                        <img src="__CDN__/html/img/btn_wode_man.png" class="rz-img">
                        <span class="rz-span">邀请好友</span>
                    </div>       
                </li>
                </a>
        </ul>
    </div>
</div>
{/block}
{block name="script"}
<script type="text/javascript">

</script>
{/block}